package com.spring.hx.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import com.spring.hx.entity.User;

@FeignClient(value = "nacos-provider")
public interface UserService {
	
	@GetMapping(value = "/user/{id}")
	public User getId(@PathVariable(value = "id") long id);
	
}
